


10 HOME: SPEED = 150: INPUT "SHALL WE PLAY A GAME: ";F$
20 IF F$ = "YES" THEN 50
30 PRINT "OK BYE BYE"
40 END
50 INPUT "YOUR NUMBER: ";A
60 B = INT (1000 * RND (1))
70 HTAB 15: PRINT "YOUR NUMBER IS:",A
80 HTAB 15: PRINT "COMPUTER NUMBER IS:",B
90 IF A = B THEN PRINT "YOU WIN!!!!!"
100 IF A < > B THEN PRINT "YOU LOSE"

EXTENDED VERSION

10 HOME
12 SPEED = 150
15 INPUT "SHALL WE PLAY A GAME: ";F$
20 IF F$ = "YES" THEN 50
30 PRINT "OK BYE BYE"
40 END
50 INPUT "YOUR NUMBER: ";A
60 B = INT (1000 * RND (1))
70 HTAB 15: PRINT "YOUR NUMBER IS:",A
80 HTAB 15: PRINT "COMPUTER NUMBER IS:",B
90 IF A = B THEN PRINT "YOU WIN!!!!!"
100 IF A < > B THEN PRINT "YOU LOSE"

to load it you need applewin apple ii emulator for windows here the download: https://github.com/AppleWin/AppleWin/releases/download/v1.26.1.1/AppleWin1.26.1.1.zip

to load the game inside applewin after have loaded applewin by clicking the rainbow apple icon you have to push the rainbow apple icon on the right menu, then copy from here the game selecting it with highlights and pressing copy from the right click. To paste it inside the applewin press ctrl plus rainbow apple in the right menu of applwin then press shift and insert key in your keyboard. Press one time return and write RUN in applewin and press return.
the game is simple:
write YES to play after it ask shall we play a game or NO if you want to exit
you will be asked to insert a number write a number you like from 1 to 1000 press return
check if the number is equal to the one of the computer to win other wise you lose.

I hope you enjoy my game it's born first for Apple 1 machine after rebuilt for apple iie.




